<div>
    @foreach($data as $key  => $value)
        <div class="flex mb-4">{{ $key }}:
            <ul class="flex">
                @foreach($value as $item)
                <li class="mx-2">{{ $item }}</li>
                @endforeach
            </ul>
        </div>
    @endforeach
</div>
